export const PAGE_CODE = 'dcs-afterSales-secondClaim';
import {PAGE} from '../constants';
const EMPTY_ARRAY = [];
export const PERMISSION = {
    update: 'update',
    updateMore: 'updateMore',
};

export const DEFAULT_QUERY_OPTION = {
    brandId: '',
    code: '',
    dealerId: '',
    causePartCode: '',
    causePartName: '',
    vin: '',
    repairType: EMPTY_ARRAY,
    status: undefined,
    pageIndex: PAGE.index,
    pageSize: PAGE.size,
};

export const DEFAULT_SUBMIT_DATA = {
    details: [],
    accessoryDetails: [],
    workItemDetails: [],
};

export const DEFAULT_SUBMIT_DATA_MORE = {
    updateData: {},
    details: [],
    accessoryDetails: [],
    workItemDetails: [],
};

import {dealerType} from '../Enum';
export const dealerConditions = {
    type: dealerType.总代
};

export const subConditions = {
    type: dealerType.经销商
};
